package com.ht.service;

import java.util.List;

import com.ht.model.User;
import com.ht.util.MyPage;

public interface UserService {
	
	abstract public boolean userExists(User user);  
	
	abstract public void insertUser(User user);
	
	public List<User> findUserByExample(User user);
	
	public int addUser(User user );

	public int deleteUser(User user);

	public int updateUser(User user);

	public User getUserByUsername(String name);
	
	public User getUserById(User user);
	
	public MyPage selectByCon(User user,int curPage);
}
